package com.furnitur.core.mapper.review;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.furnitur.core.entity.review.ReviewLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ReviewLikeMapper extends BaseMapper<ReviewLike> {
    
    /**
     * 根据评价ID和用户ID查询点赞记录
     */
    ReviewLike selectByReviewAndUser(@Param("reviewId") Long reviewId, @Param("userId") Long userId);
} 